#pragma once

#include "TextStreamInterface.h"

class TextStreamStandardIO
: public TextStreamInterface
{
public:
	static TextStreamInterfacePtr Spawn ();
	static void CheckInnocence ();
private:
	virtual char ReadChar ();
	virtual void WriteString ( std::string str );
private:
	static Factory < TextStreamInterface > factory;
};
